

#ifndef _SHELL_RESXILIANBUYTIMES_MESSAGE_H_
#define _SHELL_RESXILIANBUYTIMES_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResXiLianBuyTimesMessage : public Message
{
	public:
	ResXiLianBuyTimesMessage();
	~ResXiLianBuyTimesMessage();
	void reset();
	ResXiLianBuyTimesMessage* clone();
	static const int _ID;
	//今日已洗练次数
	int32 times;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
